package cn.vpclub.admin.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@TableName(value = "reply")
public class ReplyEntity implements Serializable {
    @TableId(value = "id")
    private String id;

    @TableField(value = "comment_id")
    private String commentId;

    @TableField(value = "from_user")
    private String fromUser;

    @TableField(value = "to_user")
    private String toUser;

    @TableField(value = "reply_content")
    private String replyContent;

    @TableField(value = "createdTime", fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(value = "updatedTime", fill = FieldFill.UPDATE)
    private Date updatedTime;

}
